package com.huazi.www.drug.drugz.enity;

/**
 * @description：药品库存
 * @author：zt
 * @date：2021/5/16 11:42
 * @versions：v1.0
 */
public class DrugStock {

    private Integer id;        //药品编号
    private Integer drugId;    //药品编号
    private String drugName;    //药品名称   为了方便展示
    private Double price;       //药品价格   为了方便展示
    private Integer count;     //药品数量

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getDrugId() {
        return drugId;
    }

    public void setDrugId(Integer drugId) {
        this.drugId = drugId;
    }

    public String getDrugName() {
        return drugName;
    }

    public void setDrugName(String drugName) {
        this.drugName = drugName;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public DrugStock() {

    }

    public DrugStock(Integer drugId, Integer count) {
        this.drugId = drugId;
        this.count = count;
    }

    public DrugStock(Integer drugId, String drugName, Double price, Integer count) {
        this.drugId = drugId;
        this.drugName = drugName;
        this.price = price;
        this.count = count;
    }

    @Override
    public String toString() {
        return "DrugStock{" +
                "id=" + id +
                ", drugId=" + drugId +
                ", drugName='" + drugName + '\'' +
                ", count=" + count +
                '}';
    }

}
